<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1">
<!-- 引入layui样式和脚本 -->
<link rel="stylesheet" href="layui/css/layui.css" type="text/css" />
<script src="layui/layui.js" type="text/javascript" charset="utf-8"></script>
<title>layout 后台大布局 - Layui</title>
</head>
<body class="layui-layout-body">
	<div class="layui-layout layui-layout-admin">
		<div class="layui-header">
			<div class="layui-logo">layui 后台布局</div>
			<!-- 头部区域（可配合layui已有的水平导航） -->
			<ul class="layui-nav layui-layout-left" lay-filter="test">
				<li class="layui-nav-item"><a href="../forw/getAllHome">前台首页</a></li>
				<!-- <li class="layui-nav-item"><a href="">用户</a></li> -->
				<!-- <dl class="layui-nav-child">
					<dd>
						<a href="">邮件管理</a>
					</dd>
					<dd>
						<a href="">消息管理</a>
					</dd>
					<dd>
						<a href="">授权管理</a>
					</dd>
				</dl>
				</li> -->
			</ul>
			<ul class="layui-nav layui-layout-right" lay-filter="test">
			<li class="layui-nav-item"><a href="order.jsp"
					id="" target="right">您有${shuliang }个订单未发货</a></li>
				<li class="layui-nav-item"><a href="javascript:;"> <img
						style="width: 40px; height: 40px" src="showPic/${aName.aUrl }"
						class="layui-nav-img"> ${aName.aName }
				</a>
					<dl class="layui-nav-child">
						<dd>
							<a href="pass.jsp" target="right">修改密码</a>
						</dd>
					</dl></li>
				<li class="layui-nav-item"><a href="javascript:;"
					id="loginoutLink">退了</a></li>
			</ul>
		</div>

		<div class="layui-side layui-bg-black">
			<div class="layui-side-scroll">
				<!-- 左侧导航区域（可配合layui已有的垂直导航） -->
				<ul class="layui-nav layui-nav-tree" lay-filter="test">
					<li class="layui-nav-item"><a class="" href="javascript:;">商品管理</a>
						<dl class="layui-nav-child">
							<dd>
								<a href="banners.jsp" target="right">轮播图表</a>
							</dd>
							<dd>
								<a href="productType.jsp" target="right">商品主类型表</a>
							</dd>
							<dd>
								<a href="proUrl.jsp" target="right">商品详情图片</a>
							</dd>
							<dd>
								<a href="proList.jsp" target="right">商品表</a>
							</dd>
							<dd>
								<a href="position.jsp" target="right">商品位置表</a>
							</dd>
						</dl></li>
					<li class="layui-nav-item"><a href="javascript:;">用户管理</a>
						<dl class="layui-nav-child">
							<dd>
								<a href="users.jsp" target="right">前台用户表</a>
							</dd>
							<dd>
								<a href="admin.jsp" target="right">后台用户表</a>
							</dd>
							<dd>
								<a href="wish.jsp" target="right">收藏表</a>
							</dd>
						</dl></li>
					<li class="layui-nav-item"><a href="javascript:;">订单管理</a>
						<dl class="layui-nav-child">
							<dd>
								<a href="order.jsp" target="right">订单表</a>
							</dd>
							<dd>
								<a href="orderdetails.jsp" target="right">订单详情表</a>
							</dd>
							<dd>
								<a href="Evaluation.jsp" target="right">售后评论</a>
							</dd>
							<dd>
								<a href="Company.jsp" target="right">公司表</a>
							</dd>
						</dl></li>
					<!-- <li class="layui-nav-item"><a href="">云市场</a></li>
					<li class="layui-nav-item"><a href="">发布商品</a></li> -->
				</ul>
			</div>
		</div>

		<div class="layui-body">
			<!-- 内容主体区域 -->
			<div style="padding: 15px;">
				<iframe src="" name="right" frameborder="0" width="100%"
					height="700"></iframe>
			</div>
		</div>

		<div class="layui-footer">
			<!-- 底部固定区域 -->
			欢迎来到U带网后台管理
		</div>
	</div>

	<script>
		//JavaScript代码区域
		layui.use([ 'element', 'layer' ], function() {
			var element = layui.element;
			var layer = layui.layer;
			var $ = layui.$;
			//退出
			$("#loginoutLink").click(function() {
				layer.confirm('您确定要退出吗', {
					icon : 3,
					title : '退出'
				}, function(index) {
					$.post("logout", function(res) {
						layer.msg(res.msg);

					}, "json")
					window.location.href = 'login.jsp';
					layer.close(index);
				});
			})
		});
	</script>
</body>
</html>